#pragma once
class RGBColour
{
public:

	float	r, g, b;

	RGBColour(void);							//Constructor
	RGBColour(float _r, float _g, float _b);		//Constructor
	~RGBColour(void);

	RGBColour rgb2hsv(RGBColour& col);

	bool operator== (const RGBColour& c) const; // are two RGBColours the same?
	bool operator!= (const RGBColour& c) const; // are two RGBColours different?
	
};

inline bool RGBColour::operator== (const RGBColour& c) const 
{
	return (r == c.r && g == c.g && b == c.b);
}

inline bool RGBColour::operator!= (const RGBColour& c) const 
{
	return (r != c.r && g != c.g && b != c.b);
}